@import './reset';
@import './swiper-7.4.1/swiper';
@import './extend';
@import './nav';


body {
    overflow-x: hidden;
}

a,a:link,a:active{
    color: black;
    text-decoration: none;
}

img {
    display: block;
}

.fixed_box {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    overflow: hidden;

    video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .fixed_ele {
        @extend %absolute_Center;
        @extend %flex_column_center;
        // border: 1px solid red;
        height: 100%;
        max-height: 261px;

        img {
            display: block;
            width: 100%;
            max-width: 616px;
            max-height: 137px;
            margin-bottom: 65px;
        }

        .fixed_btnGroup {
            display: flex;
            width: 322px;
            height: 60px;
            border-radius: 8px;
            overflow: hidden;

            button {
                width: 50%;
                height: 100%;
                outline: none;
                border: none;
                background-color: #1677FF;
                color: white;
                @extend %font_PingFang;

            }

            button:first-child {
                background-color: #0C67E6;
                border-right: 2px solid #74AEFF;
            }
        }
    }

    .fixed_bottomArrow {
        position: absolute;
        bottom: 35px;
        left: 50%;
        transform: translate(-50%);
        // background-color: red;
        display: block;
        animation: bottomArrow 0.8s alternate-reverse infinite ease-in;
    }

    @keyframes bottomArrow {
        to {
            bottom: 25px;
        }
    }

}

.container {
    position: relative;
    left: 50%;
    transform: translate(-50%);
    top: 100vh;
    z-index: 2;
    width: 100%;
    background-color: #ffffff;
    box-sizing: border-box;
    min-width: 1440px;

    .wrap {
        width: 100%;
        // border: 2px solid red;
        box-sizing: border-box;
        margin: 0 auto;
        overflow: hidden;

        .sectionTitle {
            color: #111;
            font-size: 40px;
            line-height: 56px;
            text-align: center;
            font-weight: 600;
            margin-bottom: 52px;
        }

        .businessBlock {
            width: 100%;
            height: 838px;
            box-sizing: border-box;
            padding: 90px 0 120px;

            .businessTitle {
                width: 100%;
                height: 96px;
                background-image: url('https://project-jiu-files-1308151379.cos.ap-guangzhou.myqcloud.com/project-mayi/mayi_contentTop.png');
                background-position: center;
                background-size: 588px;
                background-repeat: no-repeat;
                margin-bottom: 52px;
            }

            ul {
                width: 100%;
                display: flex;
                justify-content: center;

                li {
                    width: 240px;
                    height: 480px;
                    margin-right: 25px;
                    border-radius: 12px;
                    background-position: center;
                    background-repeat: no-repeat;
                    background-size: cover;
                    position: relative;
                    overflow: hidden;
                    box-shadow: inset 0 -150px 120px -70px rgb(0, 0, 55);
                    transition: width 0.3s;

                    &::before {
                        content: '';
                        @extend %absolute_Center;
                        width: 100%;
                        height: 100%;
                        background-color: #007aff;
                        opacity: 0;
                        transition: opacity 0.4s ease;
                    }

                    .s1_textBox {
                        color: white;
                        width: 100%;
                        height: 100%;
                        @extend %absolute_Center;
                        padding: 0 24px;
                        box-sizing: border-box;

                        h3 {
                            font-size: 22px;
                            font-weight: 600;
                            text-align: center;
                            height: 72px;
                            line-height: 72px;
                            width: 100%;
                            position: absolute;
                            left: 50%;
                            bottom: 20px;
                            transform: translate(-50%);
                            transition: all 0.4s ease;
                        }

                        p {
                            font-size: 14px;
                            font-weight: 400;
                            text-align: justify;
                            line-height: 20px;
                            margin-top: 108px;
                            display: none;
                            animation-delay: 0.2s;
                            animation-duration: all 0.1s;
                        }
                    }

                    .s1_Arrow {
                        background: url('https://project-jiu-files-1308151379.cos.ap-guangzhou.myqcloud.com/project-mayi/s1_Arrow.svg');
                        background-repeat: no-repeat;
                        background-position: center;
                        position: absolute;
                        bottom: 15px;
                        left: 50%;
                        transform: translate(-50%) rotateZ(0deg);
                        width: 20px;
                        height: 20px;
                        display: block;
                        transition: transform .1s;
                    }

                }

                li:last-child {
                    margin-right: 0;
                }

                li.s1_active {
                    width: 320px;

                    &::before {
                        opacity: 0.8;
                    }

                    .s1_textBox {
                        h3 {
                            bottom: 385px;
                        }

                        p {
                            display: block;
                        }
                    }

                    .s1_Arrow {
                        transform: translate(-50%) rotateZ(180deg);
                    }
                }
            }
        }

        .thisAntBlock {
            width: 100%;
            height: 1188px;
            box-sizing: border-box;
            padding: 120px 0;
            background-color: #f6f8fa;

            ul {
                width: 1088px;
                height: 840px;
                margin: 0 auto;
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;
                align-content: space-between;

                li {
                    width: 352px;
                    height: 412px;
                    padding: 48px 40px 30px;
                    background-color: red;
                    box-sizing: border-box;
                    border-radius: 12px;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    background-color: #fff;
                    transition: .3s;

                    .s2_image {
                        width: 100px;
                        height: 100px;

                        img {
                            width: 100%;
                            height: 100%;
                        }
                    }

                    h3 {
                        color: #333;
                        font-size: 26px;
                        font-weight: 700;
                        line-height: 40px;
                        margin-top: 20px;
                    }

                    p {
                        color: #666;
                        font-size: 16px;
                        line-height: 24px;
                        margin-top: 22px;
                        letter-spacing: 0;
                    }
                }

                li:hover {
                    transform: translateY(-5px);
                    box-shadow: -10px 10px 40px 0 rgba(216, 218, 224, .5);
                    ;
                }
            }
        }

        .welfareBlock {
            width: 100%;
            height: 871px;
            box-sizing: border-box;
            padding-top: 120px;
            @extend %flex_column_center;

            ul {
                display: grid;
                grid-template-rows: [r1] 160px [r2] 160px [r3] 160px [r4] 160px [r5];
                grid-template-columns: [c1] 362px [c2] 362px [c3] 362px [c4];
                row-gap: 1px;
                column-gap: 1px;
                border-radius: 12px;
                overflow: hidden;

                li {
                    width: 362px;
                    height: 160px;
                    background-color: red;
                    box-sizing: border-box;
                    background: center center / cover no-repeat;
                    position: relative;
                    overflow: hidden;

                    &:nth-child(1) {
                        height: 321px;
                        grid-row-start: r1;
                        grid-row-end: r2;

                        grid-column-start: c1;
                        grid-column-end: c1;
                    }

                    &:nth-child(2) {
                        grid-row-start: r1;
                        grid-row-end: r2;

                        grid-column-start: c2;
                        grid-column-end: c2;
                    }

                    &:nth-child(3) {
                        grid-row-start: r1;
                        grid-row-end: r2;

                        grid-column-start: c3;
                        grid-column-end: c3;
                    }

                    &:nth-child(4) {
                        width: 725px;
                        grid-row-start: r2;
                        grid-row-end: r3;

                        grid-column-start: c2;
                        grid-column-end: c4;
                    }

                    &:nth-child(5) {
                        grid-row-start: r3;
                        grid-row-end: r4;

                        grid-column-start: c1;
                        grid-column-end: c1;
                    }

                    &:nth-child(6) {
                        grid-row-start: r4;
                        grid-row-end: r5;

                        grid-column-start: c1;
                        grid-column-end: c1;
                    }

                    &:nth-child(7) {
                        height: 321px;
                        grid-row-start: r3;
                        grid-row-end: r5;

                        grid-column-start: c2;
                        grid-column-end: c2;
                    }

                    &:nth-child(8) {
                        grid-row-start: r3;
                        grid-row-end: r4;

                        grid-column-start: c3;
                        grid-column-end: c3;
                    }

                    &:nth-child(9) {
                        grid-row-start: r4;
                        grid-row-end: r5;

                        grid-column-start: c3;
                        grid-column-end: c3;
                    }
                }

                .s3_back {
                    z-index: 2;
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    padding: 0 32px 32px;
                    box-sizing: border-box;
                    transition: .3s;

                    &::after {
                        z-index: -1;
                        content: '';
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        background-image: linear-gradient(180deg, rgba(0, 62, 149, 0) 51%, #003e95);
                        opacity: 0.5;
                    }

                    &::before {
                        content: '';
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        opacity: 0;
                        transition: opacity .3s ease;
                        background-image: linear-gradient(134deg, #1677ff, #00a3ff);
                    }

                    .s3_content {
                        height: 100%;
                        color: #fff;
                        transform: translateY(calc(100% - 30px));
                        transition: all .3s ease;

                        h3 {
                            font-size: 22px;
                            letter-spacing: 0;
                            line-height: 33px;
                            font-weight: 600;
                        }

                        p {
                            line-height: 20px;
                            font-size: 14px;
                            font-weight: 400;
                            margin-top: 8px;
                            text-align: justify;
                            transform: translateY(20px);
                            opacity: 0;
                            transition: all .2s ease;
                            transition-delay: .2s;
                        }
                    }
                }

                li.s3_active {
                    .s3_back {
                        &::before {
                            opacity: 0.8;
                        }

                        .s3_content {
                            transform: translateY(calc(32px));

                            p {
                                opacity: 1;
                                transform: translateY(0px);
                            }
                        }
                    }
                }
            }
        }

        .dreamsBlock {
            width: 100%;
            height: 1037px;
            box-sizing: border-box;
            padding: 120px 0;

            .section4_Box {
                width: 1088px;
                height: 676px;
                border: 1px solid red;
                margin: 0 auto;
                margin-top: 64px;
                overflow: hidden;
                position: relative;

                .s_Center {
                    width: 100%;
                    height: 676px;
                    margin-left: 330px;

                    .centerImage {
                        width: 536px;
                        height: 676px;

                        img {
                            border-radius: 16px;
                            width: 100%;
                            height: 100%;
                        }
                    }
                }

                .s_Left {
                    z-index: 1;
                    width: 394px;
                    height: 450px;
                    position: absolute;
                    left: 0;
                    top: 100px;
                    padding: 64px 32px 72px;
                    box-sizing: border-box;
                    box-shadow: -10px 10px 40px 0 rgba(216, 218, 224, .5);
                    background-color: #ffffff;
                    border-radius: 16px;

                    &::after {
                        content: '';
                        z-index: -1;
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        background-color: #ffffff;
                        opacity: 0.88;
                        border-radius: 16px;
                    }

                    .s_Left_Text {
                        color: #666;
                        font-size: 14px;
                        line-height: 22px;
                        overflow-y: auto;
                    }

                    .s4_hideBox {
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        overflow: hidden;
                        border-radius: 16px;

                        .s_Left_img {
                            z-index: -1;
                            position: absolute;
                            top: -100px;
                            left: 330px;
                            height: 676px;
                            background-color: white;
                            width: 536px;

                            img {
                                border-radius: 16px;
                                width: 100%;
                                height: 100%;
                                filter: blur(20px);
                            }
                        }
                    }

                    .s_Left_icon {
                        width: 54px;
                        position: absolute;
                        top: -22px;
                        left: 32px;
                    }
                }

                .s_Right {
                    width: 254px;
                    height: 314px;
                    position: absolute;
                    right: 0;
                    bottom: 48px;


                    img {
                        border-radius: 16px;
                        width: 100%;
                        height: 100%;

                    }
                }
            }

        }

        .preIntroduce {
            width: 100%;
            height: 756px;
            padding-top: 72px;
            @extend %flex_column_center;
            box-sizing: border-box;

            .sectionTitle {
                margin: 0;
            }

            .section5_Box {
                width: 1137px;
                height: 604px;
                margin-top: 24px;
                // background-color: #74AEFF;
                padding: 40px 0 91px;
                box-sizing: border-box;
                position: relative;

                .swiperBtn {
                    background: rgba(0, 0, 0, .12);
                    border: none;
                    border-radius: 50%;
                    cursor: pointer;
                    height: 56px;
                    outline: none;
                    position: absolute;
                    top: 50%;
                    transform: translateY(calc(-50% - 25px));
                    transition: background .3s;
                    width: 56px;
                    padding: 16px 22px 16px 18px;
                    box-sizing: border-box;
                }

                .swiper-button-prev {
                    left: -79px;
                }

                .swiper-button-next {
                    right: -79px;
                }

                .swiper {
                    width: 100%;
                    height: 473px;
                    padding: 0 25px 25px;
                    box-sizing: border-box;
                    // background-color: red;

                    .swiperItem {
                        width: 520px;
                        height: 448px;
                        border-radius: 16px;
                        overflow: hidden;
                        position: relative;
                        box-shadow: 0 4px 24px 0 rgba(0, 51, 153, .08);
                        position: relative;

                        .cardCover {
                            width: 100%;
                            align-items: flex-end;
                            background-position: 50%;
                            background-repeat: no-repeat;
                            background-size: cover;
                            display: flex;
                            height: 390px;
                            padding: 17px;
                            box-sizing: border-box;
                        }

                        .cardCon {
                            bottom: 0;
                            display: flex;
                            flex-direction: column;
                            height: 234px;
                            justify-content: space-between;
                            position: absolute;
                            transition: all .3s ease;
                            width: 100%;

                            .cardTag p {
                                background: rgba(0, 0, 0, .3);
                                border-radius: 6px;
                                color: #fff;
                                font-size: 12px;
                                font-weight: 400;
                                height: 24px;
                                left: 16px;
                                letter-spacing: 0;
                                line-height: 24px;
                                padding: 0 20px;
                                position: absolute;
                                text-align: center;
                                top: -40px;
                                transform: translateY(84px);
                                transition: all .3s ease;
                            }

                            .cardTitleGroup {
                                background-image: linear-gradient(180deg, hsla(0, 0%, 100%, .9), #fff 52%, #fff);
                                flex: 1 1 auto;
                                padding: 24px 16px 0;
                                box-sizing: border-box;
                                transform: translateY(84px);
                                transition: all .3s ease;

                                .cardTitleContent {
                                    height: 134px;
                                    overflow: hidden;
                                    padding: 0 8px;

                                    /*滚动条整体部分*/
                                    &::-webkit-scrollbar {
                                        width: 4px;
                                    }

                                    /* 滚动条滑块 */
                                    &::-webkit-scrollbar-thumb {
                                        border-radius: 10px;
                                        background: rgba(0, 0, 0, 0.1);
                                    }

                                    h3 {
                                        color: #333;
                                        font-size: 20px;
                                        font-weight: 500;
                                        line-height: 30px;
                                        margin-bottom: 8px;
                                        overflow: hidden;
                                        text-overflow: ellipsis;
                                        white-space: nowrap;
                                    }

                                    p {
                                        color: #666;
                                        font-size: 12px;
                                        font-weight: 400;
                                        letter-spacing: 0;
                                        line-height: 22px;
                                        opacity: 0;
                                        transition: all .3s ease;
                                    }
                                }
                            }

                            .cardStorytellerWrap {
                                align-items: center;
                                background-color: #fff;
                                display: flex;
                                flex: 0 0 auto;
                                justify-content: space-between;
                                padding: 0 24px 16px;
                                position: absolute;
                                bottom: 0;
                                width: 100%;
                                box-sizing: border-box;

                                .cardStoryteller {
                                    align-items: center;
                                    display: flex;
                                    overflow: hidden;
                                    z-index: 10;

                                    .avatarBox {
                                        border-radius: 50%;
                                        overflow: hidden;
                                        width: 40px;
                                        height: 40px;
                                        line-height: 40px;
                                        font-size: 18px;

                                        img {
                                            display: block;
                                            height: 100%;
                                            object-fit: cover;
                                            width: 100%;
                                        }
                                    }

                                    .nickDepartment {
                                        color: #999;
                                        flex: 1 1 auto;
                                        font-size: 16px;
                                        font-weight: 400;
                                        letter-spacing: 0;
                                        line-height: 24px;
                                        margin-left: 16px;
                                        overflow: hidden;
                                    }
                                }

                                .moreBtn {
                                    align-items: center;
                                    display: flex;
                                    padding: 0;
                                    background: transparent;
                                    border-color: transparent;
                                    box-shadow: none;
                                    color: #1677ff;
                                    transition: all .3s ease;
                                }
                            }
                        }
                    }

                    .swiperItem:hover .cardTag p {
                        transform: translateY(0);
                    }

                    .swiperItem:hover .cardTitleGroup {
                        transform: translateY(0px);

                        .cardTitleContent {
                            overflow-y: auto;

                            p {
                                opacity: 1;
                            }
                        }
                    }

                    .swiperItem:hover .moreBtn {
                        transform: translateY(-34px);
                        opacity: 0;
                    }
                }
            }

        }

        .spaceBlock {
            width: 100%;
            height: 922px;
            box-sizing: border-box;
            padding: 4px 0 120px;

            .sectionTitle {
                margin-bottom: 0;
            }

            .spaceNotes {
                width: 1088px;
                margin: 16px auto 0;
                text-align: right;

                span {
                    color: #00a3ff;
                }
            }

            .section6_Box {
                width: 1088px;
                border-radius: 12px;
                overflow: hidden;
                border: 1px solid red;
                margin: 64px auto 0;
                @extend %flex_column_center;
                flex-direction: column-reverse;

                .titleList {
                    width: 100%;
                    height: 64px;
                    display: flex;
                    font-size: 14px;
                    color: #fff;
                    font-weight: 600;

                    li {
                        flex: 1 0 0;
                        width: 25%;
                        text-align: center;
                        padding: 25px;
                        box-sizing: border-box;
                        background-color: black;
                        cursor: pointer;
                    }

                    .titleList_active,
                    li:hover {
                        background-image: linear-gradient(134deg, #1677ff, #00a3ff);
                    }
                }

                .titleCard {
                    width: 100%;
                    height: 576px;
                    overflow: hidden;
                    background-color: greenyellow;
                    position: relative;

                    li {
                        width: 100%;
                        height: 100%;
                        position: absolute;
                        top: 0;
                        left: 0;
                        display: none;
                        opacity: 0;

                        background-color: #74AEFF;

                        .swiper_space {
                            position: relative;
                            height: 100%;

                            .swiper-wrapper {
                                .swiper-slide {

                                    img {
                                        display: block;
                                        width: 100%;
                                        height: 100%;

                                    }
                                }
                            }

                            .swiperBtn {
                                background: rgba(0, 0, 0, .12);
                                border: none;
                                border-radius: 50%;
                                cursor: pointer;
                                outline: none;
                                position: absolute;
                                top: 50%;
                                z-index: 1;
                                transform: translateY(calc(-50% + 30px));
                                transition: background .3s;
                                width: 56px;
                                height: 56px;
                                padding: 16px 22px 16px 18px;
                                box-sizing: border-box;
                            }

                            .swiperBtn:hover {
                                background: rgba(0, 0, 0, .29);
                            }

                            .swiper2-button-prev {
                                left: 40px;
                            }

                            .swiper2-button-next {
                                right: 40px;
                            }
                        }

                        .spaceMask {
                            z-index: 5;
                            align-items: flex-end;
                            background-image: linear-gradient(180deg, transparent 50%, #111);
                            color: #fff;
                            display: flex;
                            font-size: 14px;
                            font-weight: 400;
                            height: 100%;
                            left: 0;
                            padding-bottom: 35px;
                            box-sizing: border-box;
                            pointer-events: none;
                            position: absolute;
                            top: 0;
                            width: 100%;

                            .spaceStatus {
                                color: hsla(0, 0%, 100%, .6);
                                flex: 0 0 120px;
                                font-size: 24px;
                                font-weight: 400;
                                letter-spacing: 0;
                                line-height: 36px;
                                text-align: center;

                                span {
                                    color: #fff;
                                    font-size: 36px;
                                    font-weight: 500;
                                    letter-spacing: 0;
                                    line-height: 54px;
                                }
                            }

                            .spaceDesc {
                                border-left: 1px solid hsla(0, 0%, 100%, .3);
                                flex: 1 1 auto;
                                line-height: 20px;
                                margin-bottom: 7px;
                                padding: 0 32px 0 29px;
                            }
                        }
                    }

                    .titleCard_active {
                        display: block;
                        opacity: 1;
                    }
                }
            }
        }
    }

    footer {
        width: 100%;
        height: 253px;
        background-color: rgb(28, 37, 51);

        .footerBody {
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            height: 187px;
            margin: 0px auto;
            max-width: 1180px;
            padding: 48px 0px;
            box-sizing: border-box;
            display: flex;
            flex-flow: row wrap;
            min-width: 0;
            color: white;

            &>div {
                display: block;
                flex: 0 0 37.5%;
                max-width: 37.5%;

                h5 {
                    color: rgb(255, 255, 255);
                    font-size: 16px;
                    font-weight: 500;
                    line-height: 22px;
                    margin-bottom: 20px;
                }

                .textGroup {
                    p {
                        color: rgba(255, 255, 255, 0.6);
                        font-size: 12px;
                        font-weight: 300;
                        line-height: 18px;
                        margin-bottom: 12px;
                    }
                }

                .iconGroup {
                    img {
                        display: inline-block;
                        height: 32px;
                        margin-right: 18px;
                        width: 32px;
                    }
                }

            }

            &>div:last-child {
                display: block;
                flex: 0 0 25%;
                max-width: 25%;
            }
        }

        .footerLaw {
            height: 66px;
            padding: 24px 0px;
            text-align: center;
            box-sizing: border-box;

            &>div {
                color: rgba(255, 255, 255, 0.6);
                display: inline-block;
                font-size: 12px;
                font-weight: 300;
                line-height: 18px;
                padding: 0px 8px;
                position: relative;

                &::after {
                    background-color: rgba(255, 255, 255, 0.4);
                    content: "";
                    display: block;
                    height: 12px;
                    position: absolute;
                    right: 0px;
                    top: calc(50% - 6px);
                    width: 1px;
                }

                &:last-child::after{
                    display: none;
                }
            }
        }
    }
}